home *** CD-ROM | disk | FTP | other *** search
INI File | 2000-07-24 | 4.3 KB | 185 lines |
- ; Sample ODBC setup INF file. Refer to the Win32 Setup API for information about the INF File Format.
-
-
- ; This section contains the master list that controls what ODBC components will be setup.
-
- ; Each line of the section has the following format:
- ;
- ; "Description", Required, Type, CopyFileSectionName[, OdbcParameterSectionName]
- ;
- ; Description - String describing what will be setup
- ; Required - Set to "Yes" if component is required to be installed.
- ; Set to "No" if component can optionally be installed
- ; Case insensitive.
- ; Type - Type of component. One of the following: "Core",
- ; "Driver", "Translator". Case insensitive.
- ; CopyFileSectionName - Name of INF Copy Files section that contains the list
- ; of files that make up the component
- ; OdbcParameterSectionName - Name of optional ODBC parameters section. The
- ; parameters in this section are passed as part of the
- ; lpszDriver or lpszTranslator arguments to the ODBC API
- ; SQLInstallDriverEx or SQLInstallTranslatorEx functions.
- ;
- ; NOTE: Do not change the name of this section.
-
- [OdbcSetupContents]
- "ODBC Core Files", Yes, Core, OdbcCore.CopyFiles
- "Access ODBC Driver", No, Driver, Access.CopyFiles, Access.Parameters
- "SQL Server ODBC Driver", No, Driver, SQLServer.CopyFiles, SQLServer.Parameters
- "Microsoft Oracle ODBC Driver Version 1", No, Driver, Oracle1.CopyFiles, Oracle1.Parameters
- "Microsoft Oracle ODBC Driver Version 2", No, Driver, Oracle2.CopyFiles, Oracle2.Parameters
-
- [OdbcCore.CopyFiles]
- odbctl32.dll,,,
- odbccp32.dll,,,
- odbccp32.cpl,,,
- odbc32.dll,,,
- odbcad32.exe,,,
- odbccr32.dll,,,
- odbcinst.hlp,,,
- odbcinst.cnt,,,
- odbctrac.dll,,,
- odbcint.dll,,,
- odbc16gt.dll,,,
- odbc32gt.dll,,,
- ds16gt.dll,,,
- ds32gt.dll,,,
- msvcrt.dll,,,
- msvcrt40.dll,,,
-
- [Access.CopyFiles]
- odbcjt32.dll,,,
- odbcji32.dll,,,
- odbcjet.hlp,,,
- odbcjet.cnt,,,
- msjter35.dll,,,
- msjint35.dll,,,
- msrd2x35.dll,,,
- vbajet32.dll,,,
- vbar332.dll,,,
- msjet35.dll,,,
-
- [Access.Parameters]
- Name, "Microsoft Access Driver (*.mdb)"
- Driver, odbcjt32.dll
- Setup, odbcjt32.dll
- APILevel, 1
- ConnectFunctions, YYN
- DriverODBCVer, 02.50
- FileUsage, 2
- FileExtns, *.mdb
- SQLLevel, 0
- ConfigDSN, "DSN=MS Access 97 Database|UID=Admin||"
-
- [SQLServer.CopyFiles]
- sqlsrv32.dll,,,
- dbnmpntw.dll,,,
- drvssrvr.hlp,,,
- instcat.sql,,,
-
- [SQLServer.Parameters]
- Name, "SQL Server"
- Driver, sqlsrv32.dll
- Setup, sqlsrv32.dll
- SQLLevel, 1
- FileUsage, 0
- DriverODBCVer, 02.50
- ConnectFunctions, YYY
- APILevel, 2
- CPTimeout, 60
-
- [Oracle1.CopyFiles]
- msorcl10.dll,,,
- msorcl10.hlp,,
- msorcl10.cnt,,
-
- [Oracle1.Parameters]
- Name, "Microsoft ODBC Driver for Oracle Version 1"
- Driver, msorcl10.dll
- Setup, msorcl10.dll
- SQLLevel, 1
- FileUsage, 0
- DriverODBCVer, 02.50
- ConnectFunctions, YYY
- APILevel, 2
- CPTimeout, 60
-
- [Oracle2.CopyFiles]
- msorcl32.dll,,,
-
- [Oracle2.Parameters]
- Name, "Microsoft ODBC Driver for Oracle Version 2"
- Driver, msorcl32.dll
- Setup, msorcl32.dll
- SQLLevel, 1
- FileUsage, 0
- DriverODBCVer, 03.00
- ConnectFunctions, YYY
- APILevel, 2
- CPTimeout, 60
-
-
- ; all files listed in the Copy Files sections above must also be listed in
- ; this section
- [SourceDisksFiles]
-
- ; ODBC Core
- odbctl32.dll = 1,,
- odbccp32.dll = 1,,
- odbccp32.cpl = 1,,
- odbc32.dll = 1,,
- odbcad32.exe = 1,,
- odbccr32.dll = 1,,
- odbcinst.hlp = 1,,
- odbcinst.cnt = 1,,
- odbctrac.dll = 1,,
- odbcint.dll = 1,,
- odbc16gt.dll = 1,,
- odbc32gt.dll = 1,,
- ds16gt.dll = 1,,
- ds32gt.dll = 1,,
- msvcrt.dll = 1,,
- msvcrt40.dll = 1,,
-
- ; Jet ODBC Driver
- odbcjt32.dll = 1,,
- odbcji32.dll = 1,,
- odbcjet.hlp = 1,,
- odbcjet.cnt = 1,,
- msjter35.dll = 1,,
- msjint35.dll = 1,,
- msrd2x35.dll = 1,,
- vbajet32.dll = 1,,
- vbar332.dll = 1,,
- msjet35.dll = 1,,
-
- ; SQL Server ODBC Driver
- sqlsrv32.dll = 1,,
- dbnmpntw.dll = 1,,
- drvssrvr.hlp = 1,,
- instcat.sql = 1,,
-
- ; Microsoft Oracle ODBC Driver Version 1
- msorcl10.dll = 1,,
- msorcl10.hlp = 1,,
- msorcl10.cnt = 1,,
-
- ; Microsoft Oracle ODBC Driver Version 2
- msorcl32.dll = 1,,
-
- ;
- ; items below this point should not be changed
- ;
-
- ; Name and ordinal of setup media
- [SourceDisksNames]
- 1 = "ODBC Setup",,,
-
- [DestinationDirs]
- DefaultDestDir = 32768 ; DRID_USER - Destination dir is specified at runtime.
-
- ; INF file version info
- [Version]
- signature="$Windows NT$"
- ClassGUID={00000000-0000-0000-0000-000000000000}
-